import request from '../utils/request'
import { HttpMethod } from '../utils/http'


export default {
  // 根据省市区查询 服务店面
  getServiceStoresByArea (data) {
    return request({
      url: '/beauty/serviceStore/getServiceStoresByArea',
      method: HttpMethod.POST,
      data
    })
  },
  // 根据id查询服务店面信息
  getInfo (serviceStoreId) {
    return request({
      url: `/beauty/serviceStore/${serviceStoreId}`,
      method: HttpMethod.GET
    })
  },
}
